let resizeCanvas = (canvas:{width:number, height:number,
    clientWidth:number, clientHeight:number}, wd:number) => {
    canvas.width = canvas.clientWidth * wd;
    canvas.height = canvas.clientHeight * wd;
};

export {resizeCanvas};